package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 联系人对象 tb_contact
 * 
 * @author mcx
 * @date 2025-07-13
 */
public class TbContact extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 公司主键 */
    @Excel(name = "公司主键")
    private Long companiesId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companiesName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String contactName;

    /** 地址 */
    @Excel(name = "地址")
    private String contactAddress;

    /** 固定电话 */
    @Excel(name = "固定电话")
    private String contactTel;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String contactMail;

    /** 备注 */
    @Excel(name = "备注")
    private String contactRemark;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCompaniesId(Long companiesId) 
    {
        this.companiesId = companiesId;
    }

    public Long getCompaniesId() 
    {
        return companiesId;
    }

    public void setCompaniesName(String companiesName) 
    {
        this.companiesName = companiesName;
    }

    public String getCompaniesName() 
    {
        return companiesName;
    }

    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }

    public void setContactAddress(String contactAddress) 
    {
        this.contactAddress = contactAddress;
    }

    public String getContactAddress() 
    {
        return contactAddress;
    }

    public void setContactTel(String contactTel) 
    {
        this.contactTel = contactTel;
    }

    public String getContactTel() 
    {
        return contactTel;
    }

    public void setContactMail(String contactMail) 
    {
        this.contactMail = contactMail;
    }

    public String getContactMail() 
    {
        return contactMail;
    }

    public void setContactRemark(String contactRemark) 
    {
        this.contactRemark = contactRemark;
    }

    public String getContactRemark() 
    {
        return contactRemark;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companiesId", getCompaniesId())
            .append("companiesName", getCompaniesName())
            .append("contactName", getContactName())
            .append("contactAddress", getContactAddress())
            .append("contactTel", getContactTel())
            .append("contactMail", getContactMail())
            .append("contactRemark", getContactRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
